export const data = {
  form: {},

  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    ebeln: null,
    ebelp: null,
    matnr: null,
  },
  rules: {
    ebeln: [{ required: true, message: "采购订单编号不能为空", trigger: "blur" }],
  },
}

export const column = [
  { prop: "ebeln", label: "采购订单", width: 150, minWidth: 50 },
  { prop: "ebelp", label: "订单行号", width: 80, minWidth: 50, showOverflow: true },
  { prop: "matnr", label: "物料编号", width: 130, minWidth: 50 },
  { prop: "txz01", label: "物料名称", width: 180, minWidth: 50, showOverflow: true },
  { prop: "werks", label: "工厂编号", width: 80, minWidth: 50 },
  { prop: "lgort", label: "库存地点", width: 80, minWidth: 50 },
  { prop: "meins", label: "物料单位", width: 80, minWidth: 50 },
  { prop: "eindt", label: "交货时间", width: 130, minWidth: 50 },
  { prop: "status", label: "状态", width: 80, minWidth: 50 },
  { prop: "errMsg", label: "交互信息", width: 80, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", width: 150, type: 'detail' },
]
export const formList = [
  { prop: "ebeln", label: "采购订单" },
  { prop: "ebelp", label: "订单行号" },
  { prop: "matnr", label: "物料编号" },
]